package com.hwl.eduservice.mapper;

import com.hwl.eduservice.pojo.Teacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 讲师 Mapper 接口
 * </p>
 *
 * @author long
 * @since 2021-09-21
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    /**
     * 根据name查询讲师
     */
    Teacher getTeaByName(String name);
}
